package com.itheima.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.itheima.domain.Product;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
public class SmsFlashPromotionProductRelationVo implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 编号
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Long id;

        private Long flashPromotionId;

        /**
         * 编号
         */
        private Long flashPromotionSessionId;

        private Long productId;

        /**
         * 限时购价格
         */
        private BigDecimal flashPromotionPrice;

        /**
         * 限时购数量
         */
        private Integer flashPromotionCount;

        /**
         * 每人限购数量
         */
        private Integer flashPromotionLimit;

        /**
         * 排序
         */
        private Integer sort;

        private Product product;

}
